<template>
  <van-tabbar v-model="active" route>
    <van-tabbar-item replace to="/home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item replace to="/notice" icon="description">公告</van-tabbar-item>
    <van-tabbar-item replace to="/road" icon="location-o">报告路况</van-tabbar-item>
    <van-tabbar-item replace to="/user" icon="user-circle-o">我</van-tabbar-item>
  </van-tabbar>
</template>
<script setup>
import { ref } from 'vue'
const active = ref(0)
</script>

<style scoped></style>
